package com.hsl.hslcodemother.model.dto.chathistory;

import com.hsl.hslcodemother.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 对话历史查询请求
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ChatHistoryQueryRequest extends PageRequest implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 应用id
     */
    private Long appId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 消息类型：user/ai/error
     */
    private String messageType;

    /**
     * 消息内容（模糊匹配）
     */
    private String content;

    private static final long serialVersionUID = 1L;
}
